package com.ruoqing.user.utils;

import org.springframework.stereotype.Component;

/**
	* @author YaoXian
	* @title: GenerateCode
	* @projectName ruoxi-blog
	* @description: 若兮微服务 - 通知服务 - 手机6位验证码生成工具类
	* @date 2020-11-04 22:38
	*/
@Component
public class GenerateCode {
		public String getCode(){
				Integer code = (int)((Math.random()*9+1)*100000);
				return String.valueOf(code);
		}
}
